package com.jmodula.compiler;

import java.io.IOException;

import org.antlr.runtime.ANTLRFileStream;
import org.antlr.runtime.CharStream;
import org.antlr.runtime.CommonTokenStream;


public class JModulaCompiler {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {
		String file = args[1]; 
		System.out.println(file);
		
		CharStream charStream = new ANTLRFileStream(file);				
		ModulaLexer modulaLexer = new ModulaLexer(charStream);
		
		CommonTokenStream tokens = new CommonTokenStream();
		tokens.setTokenSource(modulaLexer);
		
		ModulaParser modulaParser = new ModulaParser(tokens);
		//

	}

}
